package cn.dckeji.dcssm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Kenny
 * @since 2019-08-01
 */
@ApiModel(value="His对象", description="")
public class His extends Model<His> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "hisId", type = IdType.UUID)
    private String hisId;

    @TableField("userId")
    private String userId;

    @TableField("parkId")
    private String parkId;

    @TableField("gmt_create")
    private LocalDateTime gmtCreate;


    public String getHisId() {
        return hisId;
    }

    public void setHisId(String hisId) {
        this.hisId = hisId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    protected Serializable pkVal() {
        return this.hisId;
    }

    @Override
    public String toString() {
        return "His{" +
        "hisId=" + hisId +
        ", userId=" + userId +
        ", parkId=" + parkId +
        ", gmtCreate=" + gmtCreate +
        "}";
    }
}
